package com.haier.constant;

import java.util.HashMap;
import java.util.Map;

public class HpConstant {
	/** token id */
	public static final Long TOKEN_ID = 1L;
	/** haier token id */
	public static final Long HAIER_TOKEN_ID = 2L;
	/** 通行申请状态 已申请 */
	public static final Integer HP_GO_APPLY_STATUS_10 = 10;
	/** 通行申请状态 已通过 */
	public static final Integer HP_GO_APPLY_STATUS_20 = 20;
	/** 通行申请状态 申请驳回 */
	public static final Integer HP_GO_APPLY_STATUS_F10 = -10;
	/** 通行申请状态 撤销 */
	public static final Integer HP_GO_APPLY_STATUS_F20 = -20;
	/** 申请人状态 */
	public static final Map<Integer, String> HP_GO_APPLY_PROPOSER_STATUS_MAP = new HashMap<Integer, String>() {
		private static final long serialVersionUID = 1L;
		{
			this.put(HP_GO_APPLY_STATUS_10, "审核中");
			this.put(HP_GO_APPLY_STATUS_20, "审核通过");
			this.put(HP_GO_APPLY_STATUS_F10, "审核驳回");
		}
	};
	/** 审核人状态 */
	public static final Map<Integer, String> HP_GO_APPLY_AUDITOR_STATUS_MAP = new HashMap<Integer, String>() {
		private static final long serialVersionUID = 1L;
		{
			this.put(HP_GO_APPLY_STATUS_10, "待审核");
			this.put(HP_GO_APPLY_STATUS_20, "已通过");
			this.put(HP_GO_APPLY_STATUS_F10, "申请驳回");
		}
	};
	/** 绿 */
	public static final Integer MY_GO_1 = 1;
	/** 红 */
	public static final Integer MY_GO_2 = 2;
	/** 常量过期时间key */
	public static final String CONSTANT_KEY_GO_COUNT_TIME = "go_count_time";
	/** 授权人等级key */
	public static final String CONSTANT_KEY_AUTHORIZER_LEVEL = "authorizer_level";
	/** 被授权人等级key */
	public static final String CONSTANT_KEY_PASSIVITYAUTHORIZER_LEVEL = "passivity_authorizer_level";
	/** 授权人等级备注 */
	public static final String CONSTANT_KEY_AUTHORIZER_DESC = "授权人等级";
	/** 被授权人等级备注 */
	public static final String CONSTANT_KEY_PASSIVITYAUTHORIZER_DESC = "被授权人等级";
	/** 授权是否有效 */
	public static final String ISENABLE_YES = "1";//有效
	/** 授权是否有效 */
	public static final String ISENABLE_NO = "0";//无效
	/** 是否是被授权人*/
	public static final String IS_AUTHORIZE_YES = "1";//有效
	/** 是否是被授权人*/
	public static final String IS_AUTHORIZE_NO = "0";//无效
	/** 是否免审*/
	public static final String IS_AUDIT_YES ="Y";//有效
	/** 是否免审*/
	public static final String IS_AUDIT_NO ="N";//无效
	/** 区域类型*/
	public static final int GO_TYPE_ONE =1;//一线
	/** 区域类型*/
	public static final int GO_TYPE_TWO =2;//二线
	/** 区域类型*/
	public static final int GO_TYPE_THREE =3;//固定


}
